<template>
	<div class="cxy-page">
		<img class="cxy-bg-img" src="https://s1.ax1x.com/2018/10/26/iy4zzq.png" 
			mode="heightFix">
		<button class="next-btn" @click='btnClick'>进入</button>
	</div>
</template>

<script>
	export default {
		mounted(){
		},
		data(){
			return {
				
			}
		},
		methods:{
			btnClick() {
				let url = '../index/main';
				// wx.navigateTo({url});
				wx.switchTab({url});
			},
		},
	}
</script>

<style scoped>
	.cxy-bg-img {
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
	}
	.next-btn {
		position: absolute;
		bottom: 20px;
		height: 45px;
		width: 140px;
		right: -20px;
		color: white;
		border: none;
		outline: none;
		background-color: black;
		box-shadow: 0 2px 3px black;
		border-radius: 30px 0 0 30px;
	}
</style>
